/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.isfd.domain.bo;

import com.comac.ins.common.core.validate.AddGroup;
import com.comac.ins.common.core.validate.EditGroup;
import com.comac.ins.common.mybatis.core.domain.BaseEntity;
import com.comac.ins.isfd.domain.IsfdLayupEquivalentMaterial;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

/**
 * 【请填写功能名称】业务对象 isfd_layup_equivalent_material
 *
 * @author Lion Li
 * @date 2024-08-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = IsfdLayupEquivalentMaterial.class, reverseConvertGenerate = false)
public class IsfdLayupEquivalentMaterialBo extends BaseEntity {

    /**
     * 对象存储主键
     */
    @NotNull(message = "对象存储主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 铺层代码
     */
    @NotBlank(message = "铺层代码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String plyCode;

    /**
     * Exx
     */
    @NotNull(message = "Exx不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double exx;

    /**
     * Eyy
     */
    @NotNull(message = "Eyy不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double eyy;

    /**
     * Gxy
     */
    @NotNull(message = "Gxy不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double gxy;

    /**
     * t
     */
    @NotNull(message = "t不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double t;

    /**
     * 对应PCOMP编号
     */
    @NotNull(message = "对应PCOMP编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pcompNumber;

    /**
     * Rho密度
     */
    @NotNull(message = "Rho密度不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double rho;

    /**
     * αx
     */
    @NotNull(message = "αx不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double x;

    /**
     * αy
     */
    @NotNull(message = "αy不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double y;

    /**
     * αxy
     */
    @NotNull(message = "αxy不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal xy;


}
